package com.jy.service;

import com.jy.bean.User;

import java.util.List;

/**
 * 业务逻辑接口
 * 处理User表对应的各种业务逻辑
 */
public interface UserService {
    boolean register(User user);
    boolean seleuser(String Emailbox,String name);
    boolean selelogin(String name,String password);
    boolean seleadmin(String admin,String password);
    List<User> selectuser();
    List<User> selectByParams(User params);
    List<User> selectByname(String name);
    Boolean UpdateUser(User user);
    Boolean Delete_user(String name);
    List<User> select_user(String name);
    boolean update_user(User user);
    boolean update_passwrod(User user);
}
